package com.hp.dao;

import com.hp.entity.Video;

import java.util.List;

public interface VideoDao {
    public List<Video> findAll(Video video) throws Exception;

    public void add(Video video)throws Exception;

    public Video findById(String id)throws Exception;

    public void update(Video video)throws Exception;

    public void delete(String id)throws Exception;

}
